package com.yu.dao;

import com.yu.bean.Tpicture;
import com.yu.bean.TpictureExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TpictureMapper {
    long countByExample(TpictureExample example);

    int deleteByExample(TpictureExample example);

    int deleteByPrimaryKey(Integer tpicId);

    int insert(Tpicture record);

    int insertSelective(Tpicture record);

    List<Tpicture> selectByExample(TpictureExample example);

    Tpicture selectByPrimaryKey(Integer tpicId);

    int updateByExampleSelective(@Param("record") Tpicture record, @Param("example") TpictureExample example);

    int updateByExample(@Param("record") Tpicture record, @Param("example") TpictureExample example);

    int updateByPrimaryKeySelective(Tpicture record);

    int updateByPrimaryKey(Tpicture record);
}